package com.ruoyi.shelves.domain;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工具类型表对象 mtype
 *
 * @author tongshuai
 * @date 2021-12-02
 */
public class Mtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增序列号ID */
    private Long id;

    /** 模块id */
    @Excel(name = "模块id")
    private Long mid;

    /** 工具类型营销id */
    @Excel(name = "工具类型营销id")
    private Long yxid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMid(Long mid)
    {
        this.mid = mid;
    }

    public Long getMid()
    {
        return mid;
    }
    public void setYxid(Long yxid)
    {
        this.yxid = yxid;
    }

    public Long getYxid()
    {
        return yxid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("yxid", getYxid())
            .toString();
    }
}
